<template>
    <eui-base-card :title="subTitle" :titleLine="true">
        <eui-detail-show :items="dataItems" v-model="summaryData" labelWidth="80px" :borderBottom="true"></eui-detail-show>
    </eui-base-card>
</template>

<script setup lang="ts">
import { inject, ref } from 'vue';

const subTitle = ref('日常运营巡场');
const data = ref({
    c_adno: '',
    c_change_userno: '',
    c_period: '',
    c_plan_scope: '',
});

const summaryData = inject('patrolWorkbenchSummaryData', data);

const dataItems = ref([
    {
        label: "负责部门",
        prop: "c_adno",
        type: "text",
        element: {
        },
    },
    {
        label: "负责人",
        prop: "c_change_userno",
        type: "text",
        element: {
        },
    },
    {
        label: "巡场时段",
        prop: "c_period",
        type: "text",
        element: {
        },
    },
    {
        label: "巡场范围",
        prop: "c_plan_scope",
        type: "text",
        element: {
        },
    },
])

</script>

<style lang="scss" scoped></style>